package com.jrzh.mvc.model.sys;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.jrzh.framework.base.model.GeneralModel;

@Entity
@Table(name = "sys_email_send")
public class EmailSendModel extends GeneralModel {
    
    /**
     * 邮箱地址
     */
    @Column(name = "_email")
    private String email;
    /**
     * 邮件标题
     */
    @Column(name = "_title")
    private String title;
    /**
     * 邮件内容
     */
    @Column(name = "_body")
    private String body;
    /**
     * 是否已经发送 T：是  F：否
     */
    @Column(name = "_is_sent")
    private String isSent;
    /**
     * 尝试发送次数
     */
    @Column(name = "_try_times")
    private Integer tryTimes;
    /**
     * 附件文件ID串,分隔
     */
    @Column(name = "_file_ids")
    private String fileIds;

    public void setEmail(String email) {
        this.email = email;
    }
    
    public String getEmail() {
        return this.email;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    
    public String getTitle() {
        return this.title;
    }
    public void setBody(String body) {
        this.body = body;
    }
    
    public String getBody() {
        return this.body;
    }
    public void setIsSent(String isSent) {
        this.isSent = isSent;
    }
    
    public String getIsSent() {
        return this.isSent;
    }
    public void setTryTimes(Integer tryTimes) {
        this.tryTimes = tryTimes;
    }
    
    public Integer getTryTimes() {
        return this.tryTimes;
    }
    public void setFileIds(String fileIds) {
        this.fileIds = fileIds;
    }
    
    public String getFileIds() {
        return this.fileIds;
    }

}